package com.njitt.bysj.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ToString
public class ProjectBean {
    private Integer id;

    private Integer basicId;
    private BasicQuotationBean basicQuotationBean;
    private String projectNo;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date projectCreateDate;

    private String projectContract;

    private Integer status;

    private Float projectTotalAmount;

    private Integer projectApprovalResults;

    private String projectDescribe;

    public BasicQuotationBean getBasicQuotationBean() {
        return basicQuotationBean;
    }

    public void setBasicQuotationBean(BasicQuotationBean basicQuotationBean) {
        this.basicQuotationBean = basicQuotationBean;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBasicId() {
        return basicId;
    }

    public void setBasicId(Integer basicId) {
        this.basicId = basicId;
    }

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo == null ? null : projectNo.trim();
    }

    public Date getProjectCreateDate() {
        return projectCreateDate;
    }

    public void setProjectCreateDate(Date projectCreateDate) {
        this.projectCreateDate = projectCreateDate;
    }

    public String getProjectContract() {
        return projectContract;
    }

    public void setProjectContract(String projectContract) {
        this.projectContract = projectContract == null ? null : projectContract.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Float getProjectTotalAmount() {
        return projectTotalAmount;
    }

    public void setProjectTotalAmount(Float projectTotalAmount) {
        this.projectTotalAmount = projectTotalAmount;
    }

    public Integer getProjectApprovalResults() {
        return projectApprovalResults;
    }

    public void setProjectApprovalResults(Integer projectApprovalResults) {
        this.projectApprovalResults = projectApprovalResults;
    }

    public String getProjectDescribe() {
        return projectDescribe;
    }

    public void setProjectDescribe(String projectDescribe) {
        this.projectDescribe = projectDescribe == null ? null : projectDescribe.trim();
    }
}